﻿using Unity.Entities;
/// <summary>
/// 防御组件
/// </summary>
public struct HealthComponent : IComponentData
{
    /// <summary>
    /// 生命值
    /// </summary>
    public float health;
    /// <summary>
    /// 防御力
    /// </summary>
    public float defend;
}
